package com.qinyunkj.searchchatserver.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
@Schema(description = "配置更新请求")
public class ConfigUpdateRequest {
    
    @Schema(description = "配置键")
    @NotBlank(message = "配置键不能为空")
    @Size(max = 50, message = "配置键长度不能超过50")
    private String configKey;
    
    @Schema(description = "配置值")
    @NotBlank(message = "配置值不能为空")
    @Size(max = 500, message = "配置值长度不能超过500")
    private String configValue;
} 